﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="实验2-1.aspx.cs" Inherits="计科201518彭康.实验2_1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        </div>
        <asp:Label ID="Label1" runat="server" Text="用户注册" ViewStateMode="Enabled"></asp:Label>
        <asp:Table ID="Table1" runat="server" GridLines="Both" Height="493px" Width="760px" style="margin-right: 0px">
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">用户名</asp:TableCell>
                <asp:TableCell runat="server">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">密码</asp:TableCell>
                <asp:TableCell runat="server">
                    <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">性别</asp:TableCell>
                <asp:TableCell runat="server">
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2">
            <asp:ListItem>男</asp:ListItem>
            <asp:ListItem>女</asp:ListItem>
        </asp:RadioButtonList>
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">是否党员</asp:TableCell>
                <asp:TableCell runat="server">
                    <asp:CheckBox ID="CheckBox1" runat="server" />
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">所在省市</asp:TableCell>
                <asp:TableCell runat="server"> 
            <asp:DropDownList ID="DropDownList1" runat="server" Width="80px">
            <asp:ListItem>湖南</asp:ListItem>      
            <asp:ListItem>湖北</asp:ListItem>
            <asp:ListItem>江西</asp:ListItem>
            <asp:ListItem Selected="True">山西</asp:ListItem>
            <asp:ListItem>北京</asp:ListItem>
            <asp:ListItem>天津</asp:ListItem>
            <asp:ListItem>上海</asp:ListItem>
            <asp:ListItem>山东</asp:ListItem>
            <asp:ListItem>云南</asp:ListItem>
            <asp:ListItem>西藏</asp:ListItem>
            <asp:ListItem>广东</asp:ListItem>    
</asp:DropDownList>
                   

</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">个人爱好</asp:TableCell>
                <asp:TableCell runat="server"> 
            <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="3">
            <asp:ListItem>听音乐</asp:ListItem>
            <asp:ListItem>打篮球</asp:ListItem>
            <asp:ListItem>踢足球</asp:ListItem>
</asp:CheckBoxList>
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">上传照片</asp:TableCell>
                <asp:TableCell runat="server">
                    <asp:FileUpload ID="FileUpload1" runat="server" />&nbsp;
        <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="上传" /></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="20px" Width="150px">国籍</asp:TableCell>
                <asp:TableCell runat="server">  
                <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatColumns="2">
            <asp:ListItem>中国</asp:ListItem>
            <asp:ListItem>外国</asp:ListItem>
        </asp:RadioButtonList>
</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="130px" Width="150px">个人说明</asp:TableCell>
                <asp:TableCell runat="server">
                <asp:TextBox ID="TextBox3" runat="server" Height="118px" TextMode="MultiLine" Width="416px">
                </asp:TextBox>
</asp:TableCell>

            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" ColumnSpan="2">
                <div style="text-align:center"> <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click"  />&nbsp;
                <asp:Button ID="Button2" runat="server"  Text="重置" OnClick="Button2_Click" />   </div> 
                </asp:TableCell>
            </asp:TableRow>

            <asp:TableRow runat="server">
                <asp:TableCell runat="server" Height="130px" ColumnSpan="2">注意须知：<br />
                      &nbsp;1.注册前请您仔细阅读用户服务协议的相关条款，并完全同意条款中的相关内容；<br />
                      &nbsp;2.必须先注册成为网站会员，才能进行网上报名和在线咨询；<br />
                      &nbsp;3.注册成功后“用户名”和“考生所在省市”不能修改，请认真填写。<br />
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        <br />     
        
    
        
    </form>
</body>
</html>
